package com.bsdsma.fengheguaiapp.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageRetDto<T> {
    private long totalElements;
    private List<T> content;
    private boolean hasNextPage;
    private long pages;

    public PageRetDto() {
        this.totalElements = 0;
        this.content = new ArrayList<>();
        this.pages = 0;
    }
}
